-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(profiling): Move profiling types to types and cache to utils #8270
Conversation
size-limit report 📦
|
@krystofwoldrich changes make sense to me, this used to just live in browser profiling as it was the only place that it was used in. Will let other JS maintainers make the final call here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah good idea on extracting this stuff out!
Can we work on removing usage of |
Before submitting a pull request, please take a look at our
Contributing guidelines and verify:
yarn lint
) & (yarn test
).I've moved some profiling code so it's possible to share it with RN.
I've added
transaction
to the profile as here in JS profile contains onlytransactions
array.Also added some profile sub-types (sample, frame, stack) so they can be used separately.
Also added yalc publish to the hub package, since it's used in RN and useful for local tests of the changes.